﻿using MediatR;
using THE_WIND_RISES.Common.Dtos;

namespace Enterprise_Set.API.Application.Commands.Week1.Warehouse_CRUD
{
    public class UpWarehouseCommand:IRequest<Result>
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int WarehouseId { get; set; }

        /// <summary>
        /// 仓库编码
        /// </summary>
        public string WarehousNumBer { get; set; }

        /// <summary>
        /// 仓库名称
        /// </summary>
        public string WarehouseName { get; set; }

        /// <summary>
        /// 仓库地址
        /// </summary>
        public string WarehouseAddr { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string WarehouseRemark { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public bool WarehouseState { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool WarehouseIsDel { get; set; }
        /// <summary>
        /// 操作人
        /// </summary>
        public string Handle { get; set; }
        /// <summary>
        /// 操作内容
        /// </summary>
        public string HandleContext { get; set; }
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime HandleTime { get; set; }
        /// <summary>
        /// pid=1:创建   pid=2:审批   pid=3:删除   pid=4:修改  
        /// </summary>
        public int Pid { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
